<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="shortcut icon" href="upload/starTechnology.png">
    <!--[if lt IE 9]>
      <script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
      <script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>
    <![endif]-->
    <!-- 引入bootstrap样式 -->
    <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
    <!-- 引入自己的样式 -->
    <link rel="stylesheet" href="css/manage.css">
    <!-- 引入jquery js 文件 -->
    <script src="bootstrap/js/jQuery.min.js"></script>
    <script src="bootstrap/js/bootstrap.min.js"></script>
    <title>星瀚科技后台</title>
</head>

<body>
    <!-- 导航条 -->
    <nav class="navbar navbar-default navbar-inverse">
        <div class="container-fluid">
            <!-- 图标 -->
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                    data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                    <span class="sr-only"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="javascript:;">
                    <img alt="Brand" src="upload/logo.svg">
                </a>
            </div>
            <!-- 功能条 -->
            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                <ul class="nav navbar-nav">
                    <li class="active"><a href="#">星瀚科技后台管理系统 <span class="sr-only">(current)</span></a></li>



                    <li><a href="javascript:;" class="glyphicon glyphicon-home">后台管理</a></li>
                    <li><a href="content.html" target="_self" class="glyphicon glyphicon-list neirong">内容管理</a></li>
                    <li><a href="label.html" class="glyphicon glyphicon-tags">标签管理</a></li>


                    <!-- 新标签页面 -->
                    <!-- Nav tabs -->

                    <!-- <li role="presentation" class="active"><a href="#home" aria-controls="home" role="tab"
                            data-toggle="tab">Home</a></li>
                    <li role="presentation"><a href="#profile" aria-controls="profile" role="tab"
                            data-toggle="tab">Profile</a></li>
                    <li role="presentation"><a href="#messages" aria-controls="messages" role="tab"
                            data-toggle="tab">Messages</a></li>
                    <li role="presentation"><a href="#settings" aria-controls="settings" role="tab"
                            data-toggle="tab">Settings</a></li> -->


                    <!-- Tab panes -->
                    <!-- <div class="tab-content">
                        <div role="tabpanel" class="tab-pane fade in active" id="home">12313213</div>
                        <div role="tabpanel" class="tab-pane fade" id="profile">12313213</div>
                        <div role="tabpanel" class="tab-pane fade" id="messages">12313213</div>
                        <div role="tabpanel" class="tab-pane fade" id="settings">12313213</div>
                    </div> -->


                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle  glyphicon glyphicon-user" data-toggle="dropdown"
                            role="button" aria-haspopup="true" aria-expanded="false">用户管理 <span
                                class="caret"></span></a>
                        <ul class="dropdown-menu">
                            <li><a href="#">用户1</a></li>
                            <li><a href="#">用户2</a></li>
                            <li><a href="#">用户3</a></li>
                            <li role="separator" class="divider"></li>
                            <li><a href="#">添加用户</a></li>
                            <li role="separator" class="divider"></li>
                            <li><a href="#">删除用户</a></li>
                        </ul>
                    </li>
                </ul>
                <form class="navbar-form navbar-left">
                    <div class="form-group">
                        <input type="text" class="form-control" placeholder="Search">
                    </div>
                    <button type="submit" class="btn btn-default">搜索</button>
                </form>
                <ul class="nav navbar-nav navbar-right">
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                            aria-expanded="false"><img src="images/user.jpg" alt="..." class="img-circle userimg">王志斌
                            <span class="caret"></span></a>
                        <ul class="dropdown-menu">
                            <li><a href="#">修改头像</a></li>
                            <li><a href="#">修改昵称</a></li>
                            <li><a href="#">修改信息</a></li>
                            <li role="separator" class="divider"></li>
                            <li><a href="#">Separated link</a></li>
                        </ul>
                    </li>
                    <li><a href="managerlogin.html" target="_self" class="glyphicon glyphicon-off">退出</a>
                    </li>
                </ul>
            </div>
        </div>
    </nav>
    <!-- 内容 -->
    <div class="container">
        <div class="row col-md-2">
            <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
                <div class="panel panel-default">
                    <div class="panel-heading" role="tab" id="headingOne" style="background-color: gray;">
                        <h4 class="panel-title">
                            <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseOne"
                                aria-expanded="true" aria-controls="collapseOne">
                                用户管理
                            </a>
                        </h4>
                    </div>
                    <div id="collapseOne" class="panel-collapse collapse in" role="tabpanel"
                        aria-labelledby="headingOne">
                        <div class="panel-body">
                            用户1
                        </div>
                        <div class="panel-body">
                            用户2
                        </div>
                        <div class="panel-body">
                            用户3
                        </div>
                    </div>
                </div>
                <div class="panel panel-default">
                    <div class="panel-heading" role="tab" id="headingTwo">
                        <h4 class="panel-title">
                            <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion"
                                href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
                                用户搜索
                            </a>
                        </h4>
                    </div>
                    <div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo">
                        <div class="panel-body">
                            模糊搜索
                        </div>
                        <div class="panel-body">
                            匹配搜索
                        </div>
                    </div>
                </div>
                <div class="panel panel-default">
                    <div class="panel-heading" role="tab" id="headingThree">
                        <h4 class="panel-title">
                            <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion"
                                href="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
                                添加用户
                            </a>
                        </h4>
                    </div>
                </div>
            </div>
        </div>
        <div class="right col-md-10">
            <h3>用户管理</h3>
            <div>

                <!-- Nav tabs -->
                <ul class="nav nav-tabs" role="tablist">
                    <li role="presentation" class="active"><a href="#home" aria-controls="home" role="tab"
                            data-toggle="tab">用户管理</a></li>
                    <li role="presentation"><a href="#profile" aria-controls="profile" role="tab"
                            data-toggle="tab">用户搜索</a></li>
                    <li role="presentation">
                        <!-- <a href="#messages" aria-controls="messages" role="tab" data-toggle="tab modal"
                            data-target=".adduser">添加用户</a> -->
                        <a href="#" data-toggle="modal" data-target=".adduserr">添加用户</a>
                    </li>

                    <!-- 模态框 -->
                    <div class="modal fade adduserr" tabindex="-1" role="dialog">
                        <div class="modal-dialog" role="document">
                            <div class="modal-content">
                                <div class="modal-header">
                                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                                            aria-hidden="true">&times;</span></button>
                                    <h4 class="modal-title">添加用户</h4>
                                </div>
                                <form>
                                    <div class="form-group">
                                        <label for="exampleInputEmail1">用户名</label>
                                        <input type="text" class="form-control" id="exampleInputEmail1"
                                            placeholder="请输入用户名">
                                    </div>
                                    <div class="form-group">
                                        <label for="exampleInputPassword1">用户密码</label>
                                        <input type="password" class="form-control" id="exampleInputPassword1"
                                            placeholder="请输入用户密码">
                                    </div>
                                    <div class="form-group">
                                        <label for="exampleInputPassword1">确认用户密码</label>
                                        <input type="password" class="form-control" id="exampleInputPassword1"
                                            placeholder="请再次输入用户密码">
                                    </div>
                                    <div class="form-group">
                                        <label for="exampleInputPassword1">UID</label>
                                        <input type="number" class="form-control" id="exampleInputPassword1"
                                            placeholder="请输入用户ID">
                                    </div>
                                    <div class="form-group">
                                        <label for="exampleInputPassword1">用户级别</label>
                                        <input type="text" class="form-control" id="exampleInputPassword1"
                                            placeholder="黄金会员">
                                    </div>
                                    <button type="submit" class="btn btn-default">提交</button>
                                </form>
                                <div class="modal-footer">
                                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                                    <button type="button" class="btn btn-primary">提交</button>
                                </div>
                            </div>
                        </div>
                    </div>

                    <li role="presentation"><a href="#settings" aria-controls="settings" role="tab"
                            data-toggle="tab">订单的确认和删除</a></li>
                </ul>
                <!-- Tab panes -->
                <div class="tab-content">
                    <div role="tabpanel" class="tab-pane fade in active" id="home">
                        <table class="table table-striped">
                            <thead>
                                <th>ID</th>
                                <th>用户名</th>
                                <th>信箱</th>
                                <th>操作</th>
                            </thead>
                            <tr>
                                <td>01</td>
                                <td>噬空</td>
                                <td>1111111@qq.com</td>
                                <td>
                                    <div class="btn-group" role="group">
                                        <button type="button" class="btn btn-default dropdown-toggle"
                                            data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                            操作
                                            <span class="caret"></span>
                                        </button>
                                        <ul class="dropdown-menu">
                                            <li><a href="#">修改</a></li>
                                            <li><a href="#">删除</a></li>
                                        </ul>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td>02</td>
                                <td>萧衍</td>
                                <td>1111111@qq.com</td>
                                <td>
                                    <div class="btn-group" role="group">
                                        <button type="button" class="btn btn-default dropdown-toggle"
                                            data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                            操作
                                            <span class="caret"></span>
                                        </button>
                                        <ul class="dropdown-menu">
                                            <li><a href="#">修改</a></li>
                                            <li><a href="#">删除</a></li>
                                        </ul>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td>03</td>
                                <td>星月</td>
                                <td>1111111@qq.com</td>
                                <td>
                                    <div class="btn-group" role="group">
                                        <button type="button" class="btn btn-default dropdown-toggle"
                                            data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                            操作
                                            <span class="caret"></span>
                                        </button>
                                        <ul class="dropdown-menu">
                                            <li><a href="#">修改</a></li>
                                            <li><a href="#">删除</a></li>
                                        </ul>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td>04</td>
                                <td>凛冬</td>
                                <td>1111111@qq.com</td>
                                <td>
                                    <div class="btn-group" role="group">
                                        <button type="button" class="btn btn-default dropdown-toggle"
                                            data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                            操作
                                            <span class="caret"></span>
                                        </button>
                                        <ul class="dropdown-menu">
                                            <li><a href="#">修改</a></li>
                                            <li><a href="#">删除</a></li>
                                        </ul>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td>05</td>
                                <td>石昊</td>
                                <td>1111111@qq.com</td>
                                <td>
                                    <div class="btn-group" role="group">
                                        <button type="button" class="btn btn-default dropdown-toggle"
                                            data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                            操作
                                            <span class="caret"></span>
                                        </button>
                                        <ul class="dropdown-menu">
                                            <li><a href="#">修改</a></li>
                                            <li><a href="#">删除</a></li>
                                        </ul>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td>06</td>
                                <td>巫师</td>
                                <td>1111111@qq.com</td>
                                <td>
                                    <div class="btn-group" role="group">
                                        <button type="button" class="btn btn-default dropdown-toggle"
                                            data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                            操作
                                            <span class="caret"></span>
                                        </button>
                                        <ul class="dropdown-menu">
                                            <li><a href="#">修改</a></li>
                                            <li><a href="#">删除</a></li>
                                        </ul>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td>07</td>
                                <td>星辰</td>
                                <td>1111111@qq.com</td>
                                <td>
                                    <div class="btn-group" role="group">
                                        <button type="button" class="btn btn-default dropdown-toggle"
                                            data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                            操作
                                            <span class="caret"></span>
                                        </button>
                                        <ul class="dropdown-menu">
                                            <li><a href="#">修改</a></li>
                                            <li><a href="#">删除</a></li>
                                        </ul>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div role="tabpanel" class="tab-pane fade" id="profile">
                        <div class="alert alert-info" role="alert">
                            技巧提示：支持模糊搜索和匹配搜索，匹配搜索使用*代替
                        </div>
                        <form>
                            <div class="form-group">
                                <label for="exampleInputEmail1">用户名</label>
                                <input type="text" class="form-control" id="exampleInputEmail1" placeholder="请输入用户名">
                            </div>
                            <div class="form-group">
                                <label for="exampleInputPassword1">UID</label>
                                <input type="number" class="form-control" id="exampleInputPassword1"
                                    placeholder="请输入用户ID">
                            </div>
                            <div class="form-group">
                                <label for="exampleInputPassword1">用户级别</label>
                                <input type="text" class="form-control" id="exampleInputPassword1" placeholder="黄金会员">
                            </div>
                            <button type="submit" class="btn btn-default">提交</button>
                        </form>
                    </div>
                    <div role="tabpanel" class="tab-pane fade" id="messages">123</div>
                    <div role="tabpanel" class="tab-pane fade" id="settings">
                        <table class="table table-striped">
                            <thead>
                                <th>ID</th>
                                <th>用户名</th>
                                <th>订单信息</th>
                                <th>操作</th>
                            </thead>
                            <tr>
                                <td>01</td>
                                <td>噬空</td>
                                <td>蓝色星辰</td>
                                <td>
                                    <div class="btn-group" role="group">
                                        <button type="button" class="btn btn-default dropdown-toggle"
                                            data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                            操作
                                            <span class="caret"></span>
                                        </button>
                                        <ul class="dropdown-menu">
                                            <li><a href="#">确认</a></li>
                                            <li><a href="#">删除</a></li>
                                        </ul>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td>02</td>
                                <td>星月</td>
                                <td>蓝色星辰</td>
                                <td>
                                    <div class="btn-group" role="group">
                                        <button type="button" class="btn btn-default dropdown-toggle"
                                            data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                            操作
                                            <span class="caret"></span>
                                        </button>
                                        <ul class="dropdown-menu">
                                            <li><a href="#">确认</a></li>
                                            <li><a href="#">删除</a></li>
                                        </ul>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td>03</td>
                                <td>萧衍</td>
                                <td>蓝色星辰</td>
                                <td>
                                    <div class="btn-group" role="group">
                                        <button type="button" class="btn btn-default dropdown-toggle"
                                            data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                            操作
                                            <span class="caret"></span>
                                        </button>
                                        <ul class="dropdown-menu">
                                            <li><a href="#">确认</a></li>
                                            <li><a href="#">删除</a></li>
                                        </ul>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td>04</td>
                                <td>可乐</td>
                                <td>蓝色星辰</td>
                                <td>
                                    <div class="btn-group" role="group">
                                        <button type="button" class="btn btn-default dropdown-toggle"
                                            data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                            操作
                                            <span class="caret"></span>
                                        </button>
                                        <ul class="dropdown-menu">
                                            <li><a href="#">确认</a></li>
                                            <li><a href="#">删除</a></li>
                                        </ul>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td>05</td>
                                <td>清风</td>
                                <td>蓝色星辰</td>
                                <td>
                                    <div class="btn-group" role="group">
                                        <button type="button" class="btn btn-default dropdown-toggle"
                                            data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                            操作
                                            <span class="caret"></span>
                                        </button>
                                        <ul class="dropdown-menu">
                                            <li><a href="#">确认</a></li>
                                            <li><a href="#">删除</a></li>
                                        </ul>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td>06</td>
                                <td>石昊</td>
                                <td>蓝色星辰</td>
                                <td>
                                    <div class="btn-group" role="group">
                                        <button type="button" class="btn btn-default dropdown-toggle"
                                            data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                            操作
                                            <span class="caret"></span>
                                        </button>
                                        <ul class="dropdown-menu">
                                            <li><a href="#">确认</a></li>
                                            <li><a href="#">删除</a></li>
                                        </ul>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td>07</td>
                                <td>林动</td>
                                <td>蓝色星辰</td>
                                <td>
                                    <div class="btn-group" role="group">
                                        <button type="button" class="btn btn-default dropdown-toggle"
                                            data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                                            操作
                                            <span class="caret"></span>
                                        </button>
                                        <ul class="dropdown-menu">
                                            <li><a href="#">确认</a></li>
                                            <li><a href="#">删除</a></li>
                                        </ul>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>

            </div>
        </div>
        <script>
            $(function () {
                $(".dropdown-menu li").click(
                    function () {
                        var flag = window.confirm('确定删除吗？');
                        if (flag) {
                            $(this).parents('tr').hide();
                        }
                    }
                );
            })
        </script>
        <!-- 分页 -->
        <div class="row">
            <nav aria-label="...">
                <ul class=" pagination">
                    <li><a href="#">Previous</a></li>
                    <li class="active"><a href="#">1 <span class="sr-only">(current)</span></a></li>
                    <li class="disabled"><a href="#">2 <span class="sr-only">(current)</span></a></li>
                    <li class="disabled"><a href="#">3<span class="sr-only">(current)</span></a></li>
                    <li class="disabled"><a href="#">4 <span class="sr-only">(current)</span></a></li>
                    <li class="disabled"><a href="#">5 <span class="sr-only">(current)</span></a></li>
                    <li><a href="#">Next</a></li>
                </ul>
            </nav>
        </div>
    </div>
</body>

</html>